package com.sunwayworld.basemodule.samplemanage.sample.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.samplemanage.sample.bean.LimsSampleDerivativeBean;
import com.sunwayworld.basemodule.samplemanage.sample.dao.LimsSampleDerivativeDao;
import com.sunwayworld.basemodule.samplemanage.sample.mapper.LimsSampleDerivativeMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsSampleDerivativeDaoImpl extends MybatisDaoSupport<LimsSampleDerivativeBean, Long> implements LimsSampleDerivativeDao {

    @Autowired
    private LimsSampleDerivativeMapper limsSampleDerivativeMapper;

    @Override
    public LimsSampleDerivativeMapper getMapper() {
        return limsSampleDerivativeMapper;
    }

    @Override
    public List<Map<String, Object>> selectDerivativeList(MapperParameter parameter) {
        return getMapper().selectDerivativeList(parameter);
    }

    @Override
    public List<Map<String, Object>> selectMixTask(MapperParameter parameter) {
        return getMapper().selectMixTask(parameter);
    }
}
